# -*- coding: utf-8 -*-
from django import newforms as forms
from google.appengine.ext.db import djangoforms
from apodeiksi.apodeiksiapp import models


class ReceiptForm(djangoforms.ModelForm):
	afm = forms.CharField(widget=forms.TextInput(attrs={'onblur':'isValidAFM()'}))
	class Meta:
		model = models.Receipts
  		exclude = ('creator')
class UserForm(djangoforms.ModelForm):
	class Meta:
		model = models.Users
		exclude = ('googleProperties')